using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TeamSystem : Singleton<TeamSystem>, ISimplySystem<TeamComponentData>
{
    public void AddComponentData(TeamComponentData componentData)
    {
        //throw new System.NotImplementedException();
    }

    public void RemoveComponentData(TeamComponentData componentData)
    {
        //throw new System.NotImplementedException();
    }

    public static bool IsPlayerTeam(TeamComponentData teamComponentData)
    {
        return teamComponentData.Team == 1;
    }
    public static bool IsEnemyTeam(TeamComponentData teamComponentData)
    {
        return teamComponentData.Team == 2;
    }
}
